package com.nondo.dean.platform.model;

import com.nondo.dean.common.tool.BeanUtils;
import com.nondo.dean.platform.domain.Customer;


public class CustomerBean {
    private Integer id;

    private String nickName;
    
    private String phone;

    private String gender;

    private String avatarUrl;

    private Integer shakeNum;
    
    private Integer isOrder;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getShakeNum() {
        return shakeNum;
    }

    public void setShakeNum(Integer shakeNum) {
        this.shakeNum = shakeNum;
    }
    
    public Integer getIsOrder() {
        return isOrder;
    }

    public void setIsOrder(Integer isOrder) {
        this.isOrder = isOrder;
    }

    public static CustomerBean covertToBean(Customer customerDb) {
        CustomerBean customerBean = new CustomerBean();
        BeanUtils.copy(customerDb, customerBean);
        return customerBean;
    }

}
